package org.contextsensitivetodo.context;

import java.util.EventObject;

public class ContextStateChangedEvent extends EventObject{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3715678660286772037L;
	/**
	 * 
	 */
	private boolean oldState;
	private boolean newState;

	public ContextStateChangedEvent(Object source, boolean oldState, boolean newState) {
		super(source);
		this.oldState = oldState;
		this.newState = newState;
	}
	
	public boolean getOldStete(){
		return this.oldState;
	}
	

	public boolean getnEWStete(){
		return this.newState;
	}


	
}
